

import 'package:flutter/material.dart';

class textTestDemo extends StatelessWidget{

@override
  Widget build(BuildContext context) {

    // final TextStyle _textStyle = TextStyle(
    //   fontSize: 30.0
    // );
    // final String _author = '李白';
    // final String _title = '将进酒';
    // TODO: implement build
    // return Text('《$_author》---$_title。说道：“KD现在很好，处在隔离期且没什么症状。随着了解的增多我们也不像之前那样惶恐了，很多感染者都是无症状的。当然长远来看，提高免疫力还是很有必要的，我们要处理好这个问题。现在可以说他那边恢复了平静，当然疫情期间大家伙都有的不安感KD也是有的。”',

    //    textAlign: TextAlign.center,
    //    style: _textStyle,
    //    maxLines: 3,
    //    overflow: TextOverflow.ellipsis,
    // );
    // return RichText(
    //   text:TextSpan(
    //     text:'nihao',
    //     style:TextStyle(
    //       color:Colors.deepOrangeAccent,
    //       fontSize:34.0,
    //       fontWeight:FontWeight.w100
    //     ),
    //     children: [
    //      TextSpan(
    //        text:'.net',
    //        style:TextStyle(
    //          fontSize:17.0
    //        )
    //      )
    //     ],
    //   )
    // );

return Container(
    color: Colors.grey,
child: Row(
  mainAxisAlignment: MainAxisAlignment.center,
  children:<Widget>[
    Container(
      child:Icon(Icons.pool,size:32.0,color:Colors.white),
      //color: Color.fromRGBO(3, 54, 255, 1.0),
      padding: EdgeInsets.all(8),
      margin: EdgeInsets.all(20),
      width: 100,
      height: 100,
      
      decoration: BoxDecoration(
        image: DecorationImage(
          image: NetworkImage('http://3.0.169.87/pxmart_upload/image/15535640628607891.png'),
          alignment: Alignment.center,
          fit: BoxFit.cover,
          colorFilter: ColorFilter.mode (
            Colors.indigoAccent[100].withOpacity(0.6),
            BlendMode.hardLight
            )

        ),
        color: Colors.red,
        //borderRadius: BorderRadius.circular(10.0),
        shape: BoxShape.circle,
        // gradient: RadialGradient(colors:[
        //   Color.fromRGBO(7, 102, 255, 1.0),
        //   Color.fromRGBO(3, 28, 128, 1.0)
        // ] ),
        
         gradient: LinearGradient(colors:[
          Color.fromRGBO(7, 102, 255, 1.0),
          Color.fromRGBO(3, 28, 128, 1.0)
        ] ,
        begin: Alignment.topCenter,
        end: Alignment.bottomCenter
        ),
        boxShadow: [
          BoxShadow(
           offset:Offset(0,16),
           color:Color.fromRGBO(3, 54, 255, 1.0),
           blurRadius: 25.0,
           spreadRadius: -9.0
          )
        ],
        border: Border.all(
          color:Color.fromRGBO(3, 54, 255, 1.0),
          width: 3.0,
          style: BorderStyle.solid,
// top: BorderSide(
//   color:Color.fromRGBO(3, 54, 255, 1.0),
//   width: 3.0,
//   style: BorderStyle.solid
// ),
// bottom: BorderSide(
//   color:Color.fromRGBO(3, 54, 255, 1.0),
//   width: 3.0,
//   style: BorderStyle.solid
// ),
// left: BorderSide(
//   color:Color.fromRGBO(3, 54, 255, 1.0),
//   width: 3.0,
//   style: BorderStyle.solid
// ),
// right: BorderSide(
//   color:Color.fromRGBO(3, 54, 255, 1.0),
//   width: 3.0,
//   style: BorderStyle.solid
// ),
        ),
      ),
    ),

  ],


),


);


  }

}